package cn.chenhuanming.chuanzhi.dao;

import cn.chenhuanming.chuanzhi.util.entity.Share;
import cn.chenhuanming.chuanzhi.util.entity.Vote;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by Administrator on 2017-05-08.
 */
public interface VoteDao extends JpaRepository<Vote,String> {
    Page<Vote> findByStatus(short status, Pageable pageable);
}
